Optimal. Leaf size=125 \[ -\frac{(b c-a d) (3 a d+b c) \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{a+b x}}{\sqrt{b} \sqrt{c+d x}}\right )}{4 b^{5/2} d^{3/2}}-\frac{\sqrt{a+b x} \sqrt{c+d x} (3 a d+b c)}{4 b^2 d}+\frac{\sqrt{a+b x} (c+d x)^{3/2}}{2 b d} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.17056, antiderivative size = 125, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2 \[ -\frac{(b c-a d) (3 a d+b c) \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{a+b x}}{\sqrt{b} \sqrt{c+d x}}\right )}{4 b^{5/2} d^{3/2}}-\frac{\sqrt{a+b x} \sqrt{c+d x} (3 a d+b c)}{4 b^2 d}+\frac{\sqrt{a+b x} (c+d x)^{3/2}}{2 b d} \]
Antiderivative was successfully verified.
[In] Int[(x*Sqrt[c + d*x])/Sqrt[a + b*x],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 15.7173, size = 109, normalized size = 0.87 \[ \frac{\sqrt{a + b x} \left (c + d x\right )^{\frac{3}{2}}}{2 b d} - \frac{\sqrt{a + b x} \sqrt{c + d x} \left (3 a d + b c\right )}{4 b^{2} d} + \frac{\left (a d - b c\right ) \left (3 a d + b c\right ) \operatorname{atanh}{\left (\frac{\sqrt{d} \sqrt{a + b x}}{\sqrt{b} \sqrt{c + d x}} \right )}}{4 b^{\frac{5}{2}} d^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x*(d*x+c)**(1/2)/(b*x+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0915731, size = 115, normalized size = 0.92 \[ \frac{\sqrt{a+b x} \sqrt{c+d x} (b (c+2 d x)-3 a d)}{4 b^2 d}-\frac{(b c-a d) (3 a d+b c) \log \left (2 \sqrt{b} \sqrt{d} \sqrt{a+b x} \sqrt{c+d x}+a d+b c+2 b d x\right )}{8 b^{5/2} d^{3/2}} \]
Antiderivative was successfully verified.
[In] Integrate[(x*Sqrt[c + d*x])/Sqrt[a + b*x],x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.023, size = 251, normalized size = 2. \[{\frac{1}{8\,{b}^{2}d}\sqrt{bx+a}\sqrt{dx+c} \left ( 3\,\ln \left ( 1/2\,{\frac{2\,bdx+2\,\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+ad+bc}{\sqrt{bd}}} \right ){a}^{2}{d}^{2}-2\,c\ln \left ( 1/2\,{\frac{2\,bdx+2\,\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+ad+bc}{\sqrt{bd}}} \right ) adb-{c}^{2}\ln \left ({\frac{1}{2} \left ( 2\,bdx+2\,\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+ad+bc \right ){\frac{1}{\sqrt{bd}}}} \right ){b}^{2}+4\,x\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }db\sqrt{bd}-6\,\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }ad\sqrt{bd}+2\,c\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }b\sqrt{bd} \right ){\frac{1}{\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }}}{\frac{1}{\sqrt{bd}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x*(d*x+c)^(1/2)/(b*x+a)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x + c)*x/sqrt(b*x + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.248564, size = 1, normalized size = 0.01 \[ \left [\frac{4 \,{\left (2 \, b d x + b c - 3 \, a d\right )} \sqrt{b d} \sqrt{b x + a} \sqrt{d x + c} -{\left (b^{2} c^{2} + 2 \, a b c d - 3 \, a^{2} d^{2}\right )} \log \left (4 \,{\left (2 \, b^{2} d^{2} x + b^{2} c d + a b d^{2}\right )} \sqrt{b x + a} \sqrt{d x + c} +{\left (8 \, b^{2} d^{2} x^{2} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} + 8 \,{\left (b^{2} c d + a b d^{2}\right )} x\right )} \sqrt{b d}\right )}{16 \, \sqrt{b d} b^{2} d}, \frac{2 \,{\left (2 \, b d x + b c - 3 \, a d\right )} \sqrt{-b d} \sqrt{b x + a} \sqrt{d x + c} -{\left (b^{2} c^{2} + 2 \, a b c d - 3 \, a^{2} d^{2}\right )} \arctan \left (\frac{{\left (2 \, b d x + b c + a d\right )} \sqrt{-b d}}{2 \, \sqrt{b x + a} \sqrt{d x + c} b d}\right )}{8 \, \sqrt{-b d} b^{2} d}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x + c)*x/sqrt(b*x + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x*(d*x+c)**(1/2)/(b*x+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.23052, size = 190, normalized size = 1.52 \[ \frac{{\left (\sqrt{b^{2} c +{\left (b x + a\right )} b d - a b d} \sqrt{b x + a}{\left (\frac{2 \,{\left (b x + a\right )}}{b^{4} d^{2}} + \frac{b c d - 5 \, a d^{2}}{b^{4} d^{4}}\right )} + \frac{{\left (b^{2} c^{2} + 2 \, a b c d - 3 \, a^{2} d^{2}\right )}{\rm ln}\left ({\left | -\sqrt{b d} \sqrt{b x + a} + \sqrt{b^{2} c +{\left (b x + a\right )} b d - a b d} \right |}\right )}{\sqrt{b d} b^{3} d^{3}}\right )}{\left | b \right |}}{48 \, b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x + c)*x/sqrt(b*x + a),x, algorithm="giac")
[Out]